package com.ruoyi.server.api.memberTypeManagement.service;

import com.ruoyi.common.exception.errorCode.CommonException;
import com.ruoyi.server.api.memberTypeManagement.domain.MemberTypeManagement;

import java.util.List;


/**
 * 会员类型Service接口
 * 
 * @author ruoyi
 * @date 2024-06-10
 */
public interface IMemberTypeManagementService 
{
    /**
     * 查询会员类型
     * 
     * @param id 会员类型主键
     * @return 会员类型
     */
    public MemberTypeManagement selectMemberTypeManagementById(Integer id,String venueUniqueIdentifier);

    /**
     * 查询会员类型列表
     * 
     * @param memberTypeManagement 会员类型
     * @return 会员类型集合
     */
    public List<MemberTypeManagement> selectMemberTypeManagementList(MemberTypeManagement memberTypeManagement);

    /**
     * 新增会员类型
     *
     * @param memberTypeManagement 会员类型
     * @return 结果
     */
    public int insertMemberTypeManagement(MemberTypeManagement memberTypeManagement) throws CommonException;

    /**
     * 修改会员类型
     *
     * @param memberTypeManagement 会员类型
     * @return 结果
     */
    public int updateMemberTypeManagement(MemberTypeManagement memberTypeManagement) throws CommonException;
    /**
     * 修改会员卡状态
     *
     * @param memberTypeManagement 会员类型
     * @return 结果
     */
    public int updateMemberTypeManagementState(MemberTypeManagement memberTypeManagement) throws CommonException;
    /**
     * 删除会员类型信息
     *
     * @param memberTypeManagement 会员类型主键
     * @return 结果
     */
    public int deleteMemberTypeManagementById(MemberTypeManagement memberTypeManagement) throws CommonException;
}
